<?php
/**
 * Created by PhpStorm.
 * User: hao
 * Date: 2018/10/30
 * Time: 10:05 AM
 */

namespace app\api\model;


class ProductImage extends BaseModel
{
    protected $hidden = ['id','img_id','delete_time','order','product_id'];
    public function img(){
        return $this->belongsTo('Image','img_id','id');
    }
}